package cn.usian.dao;

import cn.usian.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Update;

import java.time.LocalDateTime;
import java.util.List;

public interface OrdersMapper extends BaseMapper<Orders> {
    List<Orders> findPage(Page<Orders> ordersPage, String number, LocalDateTime beginTime, LocalDateTime endTime);

    @Update("")
    Object send(Long id, Integer status);
}
